#pragma once
#include "gpio.h"
#include "pinctrl.h"
#include "spi.h"
#include "soc_osal.h"
#include "app_init.h"
#include "gpio.h"

void spi_master_init(void);

uint8_t SPI_WriteByte(uint8_t Byte);

uint8_t SPI_Write320x240x2Bytes(uint8_t* ptrByte);

errcode_t ChangeSetDMAMode(void);